package com.chuangjiangx.member.manager.client.web.stored.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@ApiModel(value = "会员消费记录--编辑备注请求参数")
public class MbrOrderEditRemarkRequest {

    /**
     * 订单ID
     */
    @NotNull
    @ApiModelProperty(value = "订单ID")
    private long id;

    /**
     * 订单备注
     */
    @Length(max = 100,message = "字符长度请控制在100字符以内")
    @ApiModelProperty(value = "订单备注")
    private String remark;

}
